import { Module } from '@nestjs/common';
import { AppController } from './controller/app.controller';
import { AppService } from './providers/app.service';
import { SharedModule } from '@/shared/shared.module'
import { CommanModule } from './modules/comman.module';
import { UserModule } from '@/user/user.module'
import { AuthModule } from '@/auth/auth.module'
import { AvatarModule } from '@/avatar/avatar.module'
import { ImageModule } from '@/image/image.module'

/**
 * 各类服务依赖
 */
const appModule = [SharedModule, CommanModule, UserModule, AuthModule, AvatarModule]

@Module({
  imports: [...appModule],
  controllers: [AppController],
  providers: [AppService],
})
export class AppModule { }

